﻿#ifndef ENV_H
#define ENV_H

#include <QMessageBox>
#include <QCheckBox>
#include <QTime>
#include <QDate>
#include <QString>

#include <QClipboard>
#include <QDataStream>
#include <QHostAddress>
#include <QUdpSocket>

#include <QSqlDatabase>
#include <QSqlQuery>
#include <QSqlQueryModel>
#include <QSqlTableModel>

#include <QSqlRecord>
#include <QModelIndex>

#define P_Ring "ring"
#define P_Pop "pop"
#define P_Say "say"
#define P_Emer "emer"

#define TB_STOCK "td_stock"
#define TB_REJECT "td_reject"
#define TB_LOSS "td_loss"
#define TB_MASS "td_mass"

#define SEND_PORT 23323

#define T_STOCK QStringLiteral("到货通知")
#define T_LOSS QStringLiteral("报损通知")

struct Env
{
    static QString date;
    static QString month;
};

#endif // ENV_H
